package com.ac.api.process_history.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="historyWeekVo", description="执行记录总体的优良率")
public class historyWeekVo  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID")
    @TableId(value = "history_id", type = IdType.AUTO)
    private Integer historyId;

    @ApiModelProperty(value = "良品率（单位：%）")
    private double yieldRate;
    @ApiModelProperty(value = "记录时间")
    private LocalDateTime recordTime;
}
